package health.lm.com.mine.present;

import java.util.ArrayList;
import java.util.List;

import health.lm.com.component_base.base.mvp.contract.XPresent;
import health.lm.com.mine.entity.CashAccountEntity;
import health.lm.com.mine.fragment.CashAccountFragment;

/**
 * @author GQI
 * @description: 提现账户
 * @date :2019-08-10 14:59
 */
public class CashAccountPresent  extends XPresent<CashAccountFragment> {
    public void getData(String id){
        List<CashAccountEntity> entities = new ArrayList<>();
        CashAccountEntity entity = new CashAccountEntity();
        entity.setId("1");
        entity.setTitle("建设银行储蓄卡(22222)");
        entity.setSelected(false);
        entities.add(entity);
        entities.add(entity);
        entities.add(entity);
        entities.add(entity);
        getV().getDataSuccess(entities);
    }
}
